package com.threeti.mecool.core.infrastructure.persistence.plan;

import com.threeti.mecool.core.domain.model.plan.pojo.TaskActionDataType;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TaskActionDataTypeRepository extends JpaRepository<TaskActionDataType, Long> {
    List<TaskActionDataType> findByActionId(Integer actionId);
    List<TaskActionDataType> findByActionIdAndName(int actionId, String name);
}
